package com.jml.account.sysMenu.service.impl;

import com.jml.account.sysMenu.dao.SysMenuDao;
import com.jml.account.sysMenu.entity.SysMenu;
import com.jml.account.sysMenu.entity.SysMenuExample;
import com.jml.account.sysMenu.service.SysMenuService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysMenuServiceImpl implements SysMenuService {

	@Autowired
	private SysMenuDao sysMenuDao;

	public void fun(){

	}

	public List<SysMenu> getAllPermission() {
		SysMenuExample example=new SysMenuExample();
		List<SysMenu> sysMenus = sysMenuDao.selectByExample(example);
		return sysMenus;
	}
}
